package com.example.javalab.convert.command;

import java.util.HashMap;
import java.util.Map;
import java.util.stream.Stream;

public class HGETALLCommand extends Command<Map.Entry<String,String>>{
    @Override
    public Stream<Map.Entry<String,String>> exec(Object... args) {
        HashMap<String, String> map = new HashMap<>();
        map.put("k1","kv1");
        map.put("k2","kv2");
        return map.entrySet().stream();
    }
}
